date format with t and z php

116

str_replace('+00:00', '.000Z', gmdate('c', strtotime('2013-05-07 18:56:57')))

Comments

Submit
0 Comments